import React from "react";
import ReactDOM from "react-dom";
import { Provider } from 'mobx-react';
import "@/config";

import ApplicationArea from "@/components/ApplicationArea";
import offlineListener from "@/services/offline-listener";
import stores from '@/store';

ReactDOM.render(
  <Provider {...stores}>
    <ApplicationArea />
  </Provider>,
  document.getElementById("application-root"), () => {
  offlineListener.init();
});